<?php
	add_action('admin_init', 'store_metadata');
	function store_metadata()
	{
		// Create metabox
		$store_metabox = array(
			'id' => 'box_store_metadata',
			'title' => 'Store Meta Fields',
			'desc' => '',
			'pages' => array('store'),
			'context' => 'normal',
			'priority' => 'high',
			'fields' => array(
                    // URL store home page
					array(
                    'id' => 'store_homepage_metadata',
                    'label' => 'Store home page',
                    'desc' => 'ex: http://www.apple.com',
                    'std' => '',
                    'type' => 'text',
                    'class' => '',
                    'choices' => array()),
                    //Logo store
                    array(
                    'id' => 'logo_metadata',
                    'label' => 'Logo',
                    'desc' => '',
                    'std' => '',
                    'type' => 'upload',
                    'class' => '',
                    'choices' => array()),
                    //Mask link
                    array(
                    'id' => 'store_mask_metadata',
                    'label' => 'Mask',
                    'desc' => '',
                    'std' => '',
                    'type' => 'text',
                    'class' => '',
                    'choices' => array())
                    ));

		ot_register_meta_box($store_metabox);
	}
?>